package com.ruoyi.sysem.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户身份信息对象 identity_user
 * 
 * @author ruoyi
 * @date 2022-12-24
 */
public class IdentityUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String cname;

    /** 民族 */
    @Excel(name = "民族")
    private String nationality;

    /** 住址 */
    @Excel(name = "住址")
    private String address;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String cnum;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String birth;

    /** 用户id */
    @Excel(name = "用户id")
    private Long cid;

    /** 手机号 */
    @Excel(name = "手机号")
    private String elphone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCname(String cname)
    {
        this.cname = cname;
    }

    public String getCname()
    {
        return cname;
    }
    public void setNationality(String nationality)
    {
        this.nationality = nationality;
    }

    public String getNationality()
    {
        return nationality;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setCnum(String cnum)
    {
        this.cnum = cnum;
    }

    public String getCnum()
    {
        return cnum;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setBirth(String birth)
    {
        this.birth = birth;
    }

    public String getBirth()
    {
        return birth;
    }
    public void setCid(Long cid)
    {
        this.cid = cid;
    }

    public Long getCid()
    {
        return cid;
    }
    public void setElphone(String elphone)
    {
        this.elphone = elphone;
    }

    public String getElphone()
    {
        return elphone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cname", getCname())
            .append("nationality", getNationality())
            .append("address", getAddress())
            .append("cnum", getCnum())
            .append("sex", getSex())
            .append("birth", getBirth())
            .append("cid", getCid())
            .append("elphone", getElphone())
            .toString();
    }
}
